package com.gzyz.entity;

public class Authority {
    private Integer id;

    private Integer userId;

    private Integer authorityid;
    
    private String name;
    
    public void setName(String name) {
		this.name = name;
	}
    
    public String getName() {
		return name;
	}
    
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getAuthorityid() {
        return authorityid;
    }

    public void setAuthorityid(Integer authorityid) {
        this.authorityid = authorityid;
    }

	@Override
	public String toString() {
		return "Authority [id=" + id + ", userId=" + userId + ", authorityid="
				+ authorityid + ", name=" + name + "]";
	}
    
    
}